<div class="devui-backtop-custom">
  <span class="icon-chevron-up"></span>
</div>
<d-back-top
  [customTemplate]="customTemplate"
  [bottom]="'100px'"
  [visibleHeight]="200"
  [draggable]="true"
  (dragEvent)="toggleTooltip($event)"
  (backTopEvent)="backTop($event)"
>
  <ng-template #customTemplate>
    <div #tooltipItem class="devui-backtop-custom" dTooltip [content]="content" [position]="'left'">
      <span class="icon-chevron-up"></span>
    </div>
  </ng-template>
</d-back-top>
